fetchAsset

open suspend fun fetchAsset(id: String, options: FetchAssetOptions = FetchAssetOptions()): Asset?

Fetches an asset from the asset source. Implementation of this method is required to use ly.img.engine.AssetApi.fetchAsset. By default returns null.

Return

the fetched asset.

Parameters

id

the ID of the asset to fetch.

options

options for fetching the asset, including locale.